package cn.ds.general.sql.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Join {

    private Table table;

    /**
     * inner, left, right, full
     */
    private String type;

    private List<Condition> on;

    private String andOr = "and";
}
